﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ServiceModel;
using System.ServiceModel.Description;
using System.Runtime.Serialization;

namespace Frame.WcfContract
{
    [DataContract(Namespace = "http://azku.net")]
    [Serializable]
    public class Task
    {
        #region ITask 成员
        [DataMember]
        public string TaskID
        {
            get;
            set;
        }
        [DataMember]
        public BaseEntity Entity
        {
            get;
            set;
        }
        [DataMember]
        public string EntityName
        {
            get;
            set;
        }
        [DataMember]
        public string AssemblyControll
        {
            get;
            set;
        }
        [DataMember]
        public string CommandName
        {
            get;
            set;
        }
        [DataMember]
        public string CommandArgument
        {
            get;
            set;
        }
        [DataMember]
        public Task ParentTask
        {
            get;
            set;
        }
        [DataMember]
        public object ObjectResult
        {
            get;
            set;
        }

        #endregion
    }
}
